<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js"></script> </head>

<body>
    <div class="alert alert-primary" role="alert"> 
        This is a primary alert with
        <a href="#" class="alert-link">an example link</a>. 
        Give it a click if you like. </div>
    <div class="alert alert-secondary" role="alert"> 
        This is a secondary alert with
        <a href="#" class="alert-link">an example link</a>. 
        Give it a click if you like. </div>
    <div class="alert alert-success" role="alert"> This is a success alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
    <div class="alert alert-danger" role="alert"> This is a danger alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
    <div class="alert alert-warning" role="alert"> This is a warning alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
    <div class="alert alert-info" role="alert"> This is a info alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
    <div class="alert alert-light" role="alert"> This is a light alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
    <div class="alert alert-dark" role="alert"> This is a dark alert with
        <a href="#" class="alert-link">an example link</a>. Give it a click if you like. </div>
</body>

</html>